﻿using System.Collections.Generic;

namespace OneBlog.Model.Entities
{
    public class BlogUser:Entity<int>
    {
        public string UserName { get; set; }
        public string Password { get; set; }
        public string NickName { get; set; }
        public string Email { get; set; }
        public string Photo { get; set; }

        public virtual ICollection<BlogComment> BlogComments { get; set; }
        public virtual ICollection<BlogInfo> BlogInfos { get; set; }
        public virtual ICollection<BlogType> BlogTypes { get; set; }
    }
}